package com.tianyi.sfzy1.service;

import com.tianyi.sfzy1.domain.Specialization;
import com.tianyi.sfzy1.mapper.SpecializationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SpecializationService {
    @Autowired
    private SpecializationMapper specializationMapper;
    public List<Specialization> selectAllSpecialization () {
        return specializationMapper.selectAllSpecialization();
    }
}
